﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Acme.BookStore.UserInfors
{
    public class CreateUpdateUserInforDto
    {
        [Required]
        [StringLength(128)]
        public string usersName { get; set; }// 用户名
        [Required]
        [StringLength(128)]
        public string usersPassword { get; set; }/// 密码
       //[StringLength(128)]
       // public int usersPhoto { get; set; }/// 头像
        [StringLength(128)]
        public string usersPhone { get; set; }/// 手机号
       /* [StringLength(128)]
        public int usersSex { get; set; }/// 性别
        [StringLength(128)]
        public string usersEmail { get; set; }/// 邮箱
        [StringLength(128)]
        public DateTime userslockLoginDate { get; set; } = DateTime.Now.AddDays(+2);/// 锁定 //锁定时间
        [StringLength(128)]
        public bool usersisDelete { get; set; } = false;//是否锁定
        [StringLength(128)]
        public int usersSum { get; set; } = 0;//密码错误次数*/
    }
}
